import os
from memory_profiler import profile


FILE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'test_input_file.txt')


@profile
def test_read_file():
    values = [len(x) for x in open(FILE_PATH, encoding='utf-8')]
    print(values)


if __name__ == '__main__':
    test_read_file()

